<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册 - 学生信息管理系统</title>
    <!-- 引入外部的样式文件 -->
    <link rel="stylesheet" href="./css/register.css">
    <!-- 引入Element UI样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 使用cdn引入vue模块 -->
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.11"></script>
    <!-- 引入Element组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <!-- 引入Axios组件库 -->
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <!-- 引入register.js文件 -->
    <script defer src="./js/register.js"></script>
</head>
<body>
    <div id="app">
        <el-container>
            <el-header class="centered-header">
                <h6>管理员注册 - 数计院学生信息管理系统</h6>
            </el-header>
            <el-main>
                <el-form class="form-container">
                    <el-form-item label="工号ID:" class="form-item">
                        <el-input v-model="userid"></el-input>
                    </el-form-item>
                    <el-form-item label="用户名:" class="form-item">
                        <el-input v-model="username"></el-input>
                    </el-form-item>
                    <el-form-item label="密码:" class="form-item">
                        <el-input type="password" v-model="password"></el-input>
                    </el-form-item>
                    <el-form-item label="姓名:" class="form-item">
                        <el-input v-model="realname"></el-input>
                    </el-form-item>
                    <el-form-item label="性别:" class="form-item">
                        <el-input v-model="gender"></el-input>
                    </el-form-item>
                    <el-form-item label="级别:" class="form-item">
                        <el-input v-model="rank"></el-input>
                    </el-form-item>
                    <el-form-item class="form-item">
                        <el-button type="primary" @click="register">注册</el-button>
                    </el-form-item>
                </el-form>
            </el-main>
        </el-container>
    </div>
</body>
</html>




















